//
//  DistributedNotifier.m
//  Shion
//
//  Created by Chris Karr on 12/31/07.
//  Copyright 2007-2008 Audacious Software. All rights reserved.
//

#import "DistributedNotifier.h"
#import "Device.h"
#import "DevicesModel.h"

#define SHION_DIST_UPDATE @"Shion: Distributed Notification Update" 

@implementation DistributedNotifier

- (void) awakeFromNib
{
	[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(update:) name:DEVICES_UPDATED object:nil];
}

- (void) update: (NSNotification *) msg
{
	[[NSDistributedNotificationCenter defaultCenter] postNotificationName:SHION_DIST_UPDATE object:nil];
}

@end
